package com.tedu.parkinglot.parkCard.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class UserParkCard {
    @ApiModelProperty(value = "用户车位卡主键id")
    private Long id;
    @ApiModelProperty(value = "车位卡id")
    private Long cardId;//关联parking_card.id
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "停车场id")
    private Long parkingId;
    @ApiModelProperty(value = "生效时间")

    private LocalDateTime startDate;
    @ApiModelProperty(value = "失效时间")

    private LocalDateTime endDate;
    @ApiModelProperty(value = "状态")
    private String status;

}
